/*
 * @Author       : ljkt
 * @Version      : 1.0
 * @Date         : 2021-10-05 18:00:43
 * @LastEditors: ljkt
 * @LastEditTime: 2025-04-04 15:48:53
 * @Description  :
 */

#ifndef _DEV_NTC_H_
#define _DEV_NTC_H_
#define EN_DEV_NTC
#if defined(EN_DEV_NTC) && defined(EN_ADC)
typedef struct
{
    unsigned short *addr;
    unsigned short tab_max_cnt;
    signed short offset;
} s_adc_2_temp_t;
typedef struct
{
    unsigned char Byte;
} s_warn_t;

typedef struct
{
    s_warn_t Warn;
    signed short Temp;
    signed short Temp10;        //
    signed short Index;         //
    s_adc_2_temp_t *adc_2_temp; //
    s_drv_adc_t *drv_adc;
} s_obj_ntc_t;
typedef struct
{
    s_obj_ntc_t LengShui;
    s_obj_ntc_t ReShui;
} s_dev_ntc_t;
extern Ram s_dev_ntc_t gDev_Ntc;

void Dev_Ntc_Init(void);
void Dev_Ntc_Scan(void);
#endif
#endif
